
package app.beit.fintrack.ws.dc;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 3.0.2
 * 2558-03-17T12:35:11.945+07:00
 * Generated source version: 3.0.2
 * 
 */
public final class UCDCAuthenService_UCDCAuthenInfPort_Client {

    private static final QName SERVICE_NAME = new QName("http://www.mfec.co.th", "UCDCAuthenService");

    private UCDCAuthenService_UCDCAuthenInfPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = UCDCAuthenService_Service.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        UCDCAuthenService_Service ss = new UCDCAuthenService_Service(wsdlURL, SERVICE_NAME);
        UCDCAuthenService port = ss.getUCDCAuthenInfPort();  
        
        {
        System.out.println("Invoking getUserWithPermissions...");
        java.lang.String _getUserWithPermissions_string1 = "1";
        java.lang.String _getUserWithPermissions_string2 = "JYBXwJOrUY/eTyeXYSueTxVB3wos+yQelxNGSgKYy5dITk0lq42rPL+5u7lpZzxSxXnTeUS7wOKI03qcfMuYwV/U3KGdcy54JOYxAwkfuZs=";
        java.lang.String _getUserWithPermissions_string3 = "";
        app.beit.fintrack.ws.dc.AuthenResultDto _getUserWithPermissions__return = port.getUserWithPermissions(_getUserWithPermissions_string1, _getUserWithPermissions_string2, _getUserWithPermissions_string3);
        System.out.println("getUserWithPermissions.result=" + _getUserWithPermissions__return);


        }
        {
        System.out.println("Invoking updateMappingFirstLoginSubSystem...");
        java.lang.String _updateMappingFirstLoginSubSystem_string1 = "_updateMappingFirstLoginSubSystem_string11439637511";
        java.lang.String _updateMappingFirstLoginSubSystem_string2 = "_updateMappingFirstLoginSubSystem_string261193711";
        boolean _updateMappingFirstLoginSubSystem__return = port.updateMappingFirstLoginSubSystem(_updateMappingFirstLoginSubSystem_string1, _updateMappingFirstLoginSubSystem_string2);
        System.out.println("updateMappingFirstLoginSubSystem.result=" + _updateMappingFirstLoginSubSystem__return);


        }
        {
        System.out.println("Invoking getUser...");
        java.lang.String _getUser_string1 = "_getUser_string1-648910437";
        java.lang.String _getUser_string2 = "_getUser_string2-1786727274";
        app.beit.fintrack.ws.dc.AuthenResultDto _getUser__return = port.getUser(_getUser_string1, _getUser_string2);
        System.out.println("getUser.result=" + _getUser__return);


        }

        System.exit(0);
    }

}
